from django.urls import path
from . import views

app_name = 'score'

urlpatterns = [
    path('', views.score_list, name='score_list'),
    path('add/', views.score_add, name='score_add'),
    path('add-multiple/', views.score_add_multiple, name='score_add_multiple'),
    path('ajax/get-exam-subjects/', views.get_exam_subjects, name='get_exam_subjects'),
    path('<int:pk>/detail/', views.score_detail, name='score_detail'),
    path('<int:pk>/edit/', views.score_edit, name='score_edit'),
    path('<int:pk>/delete/', views.score_delete, name='score_delete'),
    path("loss-detail/add/<int:record_id>/", views.loss_detail_add, name="loss_detail_add"),
    path("loss-detail/edit/<int:pk>/", views.loss_detail_edit, name="loss_detail_edit"),
    path("loss-detail/delete/<int:pk>/", views.loss_detail_delete, name="loss_detail_delete"),
]
